package com.gzq.bridge.example2;

public abstract class Shape {

    protected Color color;

    protected String shapeName;

    public Shape(Color color){
        this.color = color;
    }
    public void drawing(){
        color.painting(this);
    }
}
